package com.zs.mp.cusfb;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

import com.zs.mp.imports.MyLog;

@Component
public class CusFactoryBean implements FactoryBean<MyLog>{

	@Override
	public MyLog getObject() throws Exception {
		return new MyLog();
	}

	@Override
	public Class<?> getObjectType() {
		return new MyLog().getClass();
	}

}
